#pragma once
#ifndef TIMESTAMP_H
#define TIMESTAMP_H
#include <iostream>
#include <string>

namespace mymuduo
{

// 时间类
class TimeStamp {
public:
    TimeStamp();
    explicit TimeStamp(int64_t micro_seconds_since_epoch);
    static TimeStamp now();
    std::string toString() const;
private:
    int64_t micro_seconds_since_epoch_;
};

} // namespace name


#endif